/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Arial', sans-serif;
    
    background-color: #f4f4f4; /* Fallback color in case the image doesn't load */
    color: #333;
    line-height: 1.6;
    
}


/* Navigation styles */
nav {
    background-color: #007bff;
    padding: 15px;
    text-align: center;
}
nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #0056b3; /* Darker shade for hover and focus */
    outline: none; /* Remove outline for focus state */
}

/* Headings */
h1 {
    margin-top: 20px;
    text-align: center;
}

/* Container for the main content */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form styles */
form {
    margin-top: 20px;
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
}

button,
input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover,
input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

/* Button styles for home page */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #007bff; /* Bootstrap primary color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.buttons{
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #f10707; /* color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3; /* Darker shade for hover */
}

/* Footer styles */
footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive design */
@media (max-width: 600px) {
    nav a {
        display: block;
        margin: 5px 0;
    }

    .container {
        width: 100%;
        padding: 10px;
    }
}

/* Flash message styles */
.flashes {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.flash {
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 1rem;
    text-align: center;
}

.flash.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.flash.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.flash.info {
    background-color: #17a2b8;  /* Blue for informational messages */
}



/* Cancel Button Style */
.cancel {
    background-color: #f44336; /* Red background */
    color: white;
}

.cancel:hover {
    background-color: #d32f2f; /* Darker red when hovered */
    transform: translateY(-2px); /* Slight lift effect */
}

.cancel:active {
    background-color: #c62828; /* Darker red when clicked */
}

/* Logout Button Style */
.logout {
    background-color: #ff9800; /* Orange background */
    color: white;
    font-size: 13px;
}

.logout:hover {
    background-color: #f57c00; /* Darker orange when hovered */
    transform: translateY(-2px);
}

.logout:active {
    background-color: #e65100; /* Darker orange when clicked */
}
.loout:i{
    margin-right: 0;
}

/* Login Button Style */
.login {
    background-color: #4caf50; /* Green background */
    color: white;
}

.login:hover {
    background-color: #388e3c; /* Darker green when hovered */
    transform: translateY(-2px);
}

.login:active {
    background-color: #2c6e2d; /* Darker green when clicked */
}

/* Register Button Style */
.register {
    background-color: #2196f3; /* Blue background */
    color: white;
}

.register:hover {
    background-color: #1976d2; /* Darker blue when hovered */
    transform: translateY(-2px);
}

.register:active {
    background-color: #1565c0; /* Darker blue when clicked */
}
/* Hide the text and display icon only */
.button logout {
    font-size: 18px; /* Adjust icon size if needed */
}
button.logout i {
    margin-right: 0;
    font-size: 18px;
    
    
    /* Remove space between icon and text */
}


/* Style the container */
.cool-date-field {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Add hover effect to the container */
.cool-date-field:hover {
    border-color: #007bff;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Style the label */
.cool-date-field .form-label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* Style the input field */
.stylish-input {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
}

/* Input hover and focus effects */
.stylish-input:hover,
.stylish-input:focus {
    border-color: #007bff;
    background-color: #eaf5ff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Style error messages */
.cool-date-field .text-danger {
    font-size: 0.85rem;
    margin-top: 5px;
    color: #dc3545;
}
